package cn.wizzer.app.user.modules.services;

import cn.wizzer.app.user.modules.models.UserRestriction;
import cn.wizzer.framework.base.service.BaseService;
import cn.wizzer.framework.page.Pagination;

public interface UserRestrictionService extends BaseService<UserRestriction> {

    Pagination listPage(int pageNumber, int pageSize, String searchKeyword);

    UserRestriction fetchByUserId(String userId);

    Boolean batchRestriction(String[] ids, String opBy);

    UserRestriction initCache(String userId);

    void saveCache(UserRestriction userRestriction);

}
